package service.impl;

import dao.UserDao;
import dao.impl.UserDaoImpl;
import pojo.User;
import service.Userservice;

import java.util.List;

public class UserServiceImpl implements Userservice {
    @Override
    public List<User> findAll() {
        UserDao userDao =new UserDaoImpl();
        return userDao.findAll();
    }
}